package au.id.wattle.chapman.j2as3;

import java.util.Comparator;

public class LengthComparator implements Comparator<String> {

	public int compare(String strA, String strB) {
		if (strA.length() < strB.length())
			return 1;
		if (strA.length() > strB.length())
			return -1;
		return 0;
	}

}